package com.sgam.mf.service.ref;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sgam.mf.dao.ref.RefProjectTypeDAO;
import com.sgam.mf.domain.ref.RefProjectType;
import com.sgam.mf.service.GenericServiceImpl;

@Service
public class RefProjectTypeServiceImpl extends GenericServiceImpl<RefProjectType, RefProjectTypeDAO>  implements RefProjectTypeService {

	@Autowired
	public RefProjectTypeServiceImpl(RefProjectTypeDAO tDao) {
		super(tDao);
	}
	
	@Transactional
	public List<RefProjectType> listByService(Integer id){
		return gettDao().listByService(id);
	}

}
